<template>
  <div id="app">
    <nav>
      <router-link to="/">心情调色板</router-link> |
      <router-link to="/history">历史记录</router-link>
    </nav>
    <router-view/>
  </div>
</template>

<style>
#app {
  font-family: "Microsoft YaHei", sans-serif;
  text-align: center;
  color: #2c3e50;
  padding: 20px;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
  text-decoration: none;
  margin: 0 10px;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
